# CMakeLists.txt

 # 指定C编译器
set(CMAKE_C_COMPILER "arm-linux-gcc")  

# cmake最小版本需求
cmake_minimum_required(VERSION 3.28)

# 项目名
# project(TestName_1.0.1)
project(ad_machine VERSION 1.0.1)

# 设置变量
set(SRCDIR $(pwd))


# 添加子目录
# add_subdirectory(./lib)



# 添加头文件路径
# include_directories(./inc) 
include_directories($(SRCDIR)/inc) 

# 添加源文件
# file(GLOB SOURCES "${SRCDIR}/src/*.c")

# 添加源文件和依赖
add_executable(main src/bmp.c src/dir.c src/file_node.c src/main.c src/log.c)

